class CreateParises < ActiveRecord::Migration[5.2]
  def change
    create_table :parises do |t|
      t.timestamps
    end
    add_reference :parises,:users,foreign_key: true
    add_reference :parises,:micoposts,foreign_key: true
  end

end
